/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 系统单据附件
 *
 * @author Ding Ya Yong
 * @since 1.0.0
 */
@Data
@ApiModel(value = "系统单据附件")
public class CompComDocAttDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "系统单据附件id")
    @NotNull(message="{id.require}")
    private Long id;

    @ApiModelProperty(value = "公司id")
    @NotNull(message="{compId.require}")
    private Long compId;

    @ApiModelProperty(value = "单据id")
    private Long docId;

    @ApiModelProperty(value = "存储地址")
    private String attUrl;

    @ApiModelProperty(value = "单据类型")
    private String docTypeValue;

}